package org.example.demo3.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.demo3.info.*;

import java.util.List;

@Mapper
public interface UserMapper {
    int reg(Userinfo userinfo);
    Userinfo login(Userinfo userinfo);
    Integer infor_user(Userinfo userinfo);
    int type_count(@Param("userid") int userid);
    List<Userinfo> all_userid();
}